projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ecce5
)
xend: fix traceback in pci.py
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 23 Mar 2010 07:29:10 +0000
(07:29 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 23 Mar 2010 07:29:10 +0000
(07:29 +0000)
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
tools/python/xen/util/pci.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/util/pci.py
b/tools/python/xen/util/pci.py
index 1c7be025efff020f451d946d5a2f186fd2929984..2a2585d6f71fc235af01412a30280c2782d171d4 100644
(file)
--- a/
tools/python/xen/util/pci.py
+++ b/
tools/python/xen/util/pci.py
@@
-1251,6
+1251,9
@@
class PciDevice:
except IOError, (errno, strerr):
raise PciDeviceParseError(('Failed to locate sysfs mount: %s: %s (%d)' %
(PROC_PCI_PATH, strerr, errno)))
+ except TypeError, err:
+ log.debug("Caught TypeError '%s'" % err)
+ pass
def get_info_from_sysfs(self):
self.find_capability(0x11)